package com.web.pendingList.mapper;


import com.web.pendingList.entity.PendingList;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PendingListMapper {

    List<PendingList> getPendingListByStatusTxType(@Param("status") String status, @Param("txType") String txType);

    Integer addPendingTransaction(PendingList pendingList);

    PendingList getTxnByPendingNumber(@Param("pendingNumber") Integer pendingNumber);

    Integer updatePendingByNumber(PendingList pendingList);

}
